import { IPSAppCounterRef } from '../../app/control/ipsapp-counter-ref';
import { IPSAjaxControl } from '../ipsajax-control';
import { IPSControlContainer } from '../ipscontrol-container';
import { IPSLanguageRes } from '../../res/ipslanguage-res';
import { IPSSysImage } from '../../res/ipssys-image';

/**
 *
 * 继承父接口类型值[EXPBAR]
 * @export
 * @interface IPSExpBar
 */
export interface IPSExpBar extends IPSAjaxControl, IPSControlContainer {
  /**
   * 应用计数器引用
   *
   * @type {IPSAppCounterRef}
   */
  getPSAppCounterRef(): IPSAppCounterRef | null;

  /**
   * 标题图标
   *
   * @type {IPSSysImage}
   */
  getPSSysImage(): IPSSysImage | null;

  /**
   * 抬头
   * @type {string}
   */
  title: string;

  /**
   * 抬头语言资源对象
   *
   * @type {IPSLanguageRes}
   */
  getTitlePSLanguageRes(): IPSLanguageRes | null;

  /**
   * 导航栏数据部件名称
   * @type {string}
   */
  xDataControlName: string;

  /**
   * 支持计数器
   * @type {boolean}
   */
  enableCounter: boolean;

  /**
   * 支持搜索
   * @type {boolean}
   */
  enableSearch: boolean;

  /**
   * 显示标题栏
   * @type {boolean}
   */
  showTitleBar: boolean;
}
